package Offer.offer2017;

/**
 * 单例模式 饿汉式
 * Created by 雷文康 on 2017/12/27.
 */
public class Test02 {
    private static Test02 instance = new Test02();
    //构造器私有化
    private Test02(){

    }
    public static Test02 getInstance() {
        return instance;
    }
}
